// SoapInterface.cpp : Implementation of CSoapInterface
#include "stdafx.h"
#include "SoapServer.h"
#include "SoapInterface.h"
#include "activcard.h"

/////////////////////////////////////////////////////////////////////////////
// CSoapInterface


STDMETHODIMP CSoapInterface::UserSyncAuth(BSTR UserName, BSTR Password, long *ret)
{
	AFX_MANAGE_STATE(AfxGetStaticModuleState())

	*ret= S_FALSE;
	CString strUserName((NULL==UserName) ? L"" : UserName);
	CString strPassword((NULL==Password) ? L"" : Password);

	IeDasComPlus ICom;
	*ret = ICom.UserSycAuth( strUserName, strPassword );

	return (S_OK);
}
